import React from 'react';
import { observer } from 'mobx-react';
import { WeaSelect } from 'ecCom';

@observer
export default class SelectNew extends React.Component<any, any>{

    onChange = (v) => {
        const {onChange,detailtype,multiple} = this.props;
        onChange(v,detailtype, multiple);
    }

    render() {
        return <WeaSelect 
            {...this.props}
            onChange={this.onChange}
        ></WeaSelect>
    }
}